const CommentController = require('../../controllers/web/commentController');
module.exports = ({ router, logger }) => {

    // 根据页面获取评论
    router.get('/getCommentsByPage', async (ctx, next) => {
        await CommentController.getCommentsByPageController(ctx, next);
        await next();
    })
    return router;
}